package com.wlyuan.open.scanner.repository;

import com.wlyuan.open.scanner.dao.entity.BasicAreaDO;

import java.util.List;
import java.util.Map;

/**
 * @author lijing
 */
public interface BasicAreaRepository {

    /**
     * 批量获取地区信息
     *
     * @param areaIds
     * @return
     */
    Map<Long, BasicAreaDO> getAreaMap(List<Long>... areaIds);

    BasicAreaDO getArea(Long areaId);
}
